package com.myspring.entity;

import com.myspring.annotation.Component;
import com.myspring.annotation.Value;
import lombok.Data;

/**
 * description:
 * author:zt
 * date:2021-09-06
 */
@Component()
@Data
public class Person {
    @Value("1")
    private Integer id;
    @Value("张三")
    private String name;
    @Value("20")
    private Integer age;
}
